<{extend name="public/base"}>
<{block name="content"}>


<div class="box">
    <div class="box-header">
        <h3 class="box-title"><{$title}></h3>
    </div>
    <!-- /.box-header -->
    <div class="box-body">

        <table id="example1" class="table table-bordered table-striped">
            <thead>
            <tr>
                <th>配置项</th>
                <th>配置值</th>
                <th>操作类型</th>
                <th>操作人</th>
                <th>操作时间</th>
            </tr>
            </thead>
            <tbody>
            <{volist name="model" id="item"}>
            <tr>
                <td><{$item.ckey}></td>
                <td><{$item.cvalue}></td>
                <td><{if condition="$item.type eq 0"}>新增<{elseif condition="$item.type eq 1"}>更新<{else}>删除<{/if}></td>
                <td><?php echo $op_user[$item['op_user']];?></td>
                <td><?php echo date('Y-m-d H:i:s',$item['add_time']); ?></td>
            </tr>
            <{/volist}>

            </tbody>
            <tfoot>
            <tr>
                <th>配置项</th>
                <th>配置值</th>
                <th>操作类型</th>
                <th>操作人</th>
                <th>操作时间</th>
            </tr>
            </tfoot>
        </table>
        <div><{$model->render()}></div>
    </div>
    <!-- /.box-body -->
</div>

<{/block}>
